<h2>车号 <?php echo $model->plate_no; ?> 车型<?php echo $model->type; ?>的绩效工资考核系数信息</h2>

<div class="actionBar1">
<?php 
	if(isset($_GET['ok'])) {if($_GET['ok']==0) $mess='添加成功！'; else $mess='更新成功！';unset($_GET['ok']);}//判断添加/更新信息
	$act=isset($_GET['ret'])?$_GET['ret']:$ret;//判断show以后返回路径
	unset($_GET['ret']);unset($_GET['id']);
	$url=array($act)+$_GET;
?>
[<?php echo CHtml::link('返回',$url); ?>]
</div>

<table class="dataGrid"  width= "80%">
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('plate_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->plate_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('type')); ?>
</th>
    <td><?php echo CHtml::encode($model->type); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('kind')); ?>
</th>
    <td><?php echo CHtml::encode($model->getKindName($model->kind)); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('effect_date')); ?>
</th>
    <td><?php echo CHtml::encode(substr($model->effect_date,0,7)); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('lapse_date')); ?>
</th>
    <td><?php echo CHtml::encode(substr($model->lapse_date,0,7)); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('a_profit_min')); ?>
</th>
    <td><?php echo CHtml::encode($model->a_profit_min,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('a_profit_max')); ?>
</th>
    <td><?php echo CHtml::encode($model->a_profit_max,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('a_ratio')); ?>
</th>
    <td><?php echo CHtml::encode($model->a_ratio*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('b_profit_min')); ?>
</th>
    <td><?php echo CHtml::encode($model->b_profit_min,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('b_profit_max')); ?>
</th>
    <td><?php echo CHtml::encode($model->b_profit_max,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('b_ratio')); ?>
</th>
    <td><?php echo CHtml::encode($model->b_ratio*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('c_profit_min')); ?>
</th>
    <td><?php echo CHtml::encode($model->c_profit_min,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('c_profit_max')); ?>
</th>
    <td><?php echo CHtml::encode($model->c_profit_max,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('c_ratio')); ?>
</th>
    <td><?php echo CHtml::encode($model->c_ratio*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('d_profit_min')); ?>
</th>
    <td><?php echo CHtml::encode($model->d_profit_min,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('d_profit_max')); ?>
</th>
    <td><?php echo CHtml::encode($model->d_profit_max,'%.2f'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('d_ratio')); ?>
</th>
    <td><?php echo CHtml::encode($model->d_ratio*100,'%d%%'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('create_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->create_time); ?>
</td>
</tr>
</table>
<?php if(isset($mess)) echo "<script>alert('$mess');</script>";?>
<div class="actionBar1">[<?php echo CHtml::link('返回',$url); ?>]
</div>
